#include "stdafx.h"
#include "GameStartup.h"

static char* WINDOW_CAPTION = "XerX Engine";
static const uint DEFAULT_WINDOW_WIDTH = 640;
static const uint DEFAULT_WINDOW_HEIGHT = 480;

CGameStartup::CGameStartup(XINSTANCE appInstance, void* msgProc, const char* commandLine)
{
	m_params.WindowCaption = WINDOW_CAPTION;
	m_params.WindowWidth = DEFAULT_WINDOW_WIDTH;
	m_params.WindowHeight = DEFAULT_WINDOW_HEIGHT;

	m_params.AppHandle = appInstance;
	m_params.MsgProc = msgProc;
	ParseCommandLine(commandLine);
}

const SGameStartupParams& CGameStartup::GetStartupParams()
{
	return m_params;
}

void CGameStartup::ParseCommandLine(const char* commandLine)
{
	
}